<?php


namespace app\api\controller;


use app\common\controller\Api;
use app\common\model\Config;

class Edition extends Api
{
    protected $noNeedLogin = ['*'];

    //版本号
    public function index()
    {

        $edition = \app\admin\model\Edition::where('status','normal')->order('id desc')->field('version,content,file,create_time')->find();

        $this->success('版本号', $edition);
    }

}
